package com.springboot.project.common.service;

import com.springboot.project.common.entity.Role;
import com.baomidou.mybatisplus.service.IService;
import com.springboot.project.common.node.ZTreeNode;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 角色表 服务类
 * </p>
 *
 * @author lby
 * @since 2018-05-06
 */
public interface RoleService extends IService<Role> {

    List<Role> list(Map<String, Object> map);
    int count(Map<String, Object> map);
    void setAuthority(Integer roleId, String ids);
    boolean exit(Map<String, Object> params);
    public List<ZTreeNode> roleTree();
    List<Map<String, Object>> roleTableList(Map<String, Object> map);
}
